export default {
	avatarSrc(state){
			  //https://cube.elemecdn.com/0/f5/7d8a867c870b22bc74c87c348b75528djpeg.jpeg
			  //https://img.yzcdn.cn/vant/apple-1.jpg
			  console.log('state.avatar:',state.avatar);
				
			  if(state.avatar != ''){
			  return 'https://cube.elemecdn.com' + state.avatar+".jpeg"
			  }else{
				 return 'https://img.yzcdn.cn/vant/apple-1.jpg'
			  }
	}
	 
}